package com.github.binarywang.demo.spring.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 
 * @author Binary Wang
 *
 */
@Configuration
public class WxMpConfig {
  @Value("#{wxProperties.wx_token}")
  private String token;

  @Value("#{wxProperties.wx_appid}")
  private String appid;

  @Value("#{wxProperties.wx_appsecret}")
  private String appsecret;

  @Value("#{wxProperties.wx_aeskey}")
  private String aesKey;
  @Value("#{wxProperties.wx_host}")
  private String host;
  @Value("#{wxProperties.wx_path}")
  private String path;
  public String getToken() {
    return this.token;
  }

  public String getAppid() {
    return this.appid;
  }

  public String getAppsecret() {
    return this.appsecret;
  }

  public String getAesKey() {
    return this.aesKey;
  }

public String getHost() {
	return host;
}

public void setHost(String host) {
	this.host = host;
}

public String getPath() {
	return path;
}

public void setPath(String path) {
	this.path = path;
}

}
